package com.atguigu.dao;

import com.atguigu.bean.OrderItem;

import java.util.List;

/**
 * Date:2020/9/16
 * Author:ybc
 * Description:
 */
public interface OrderItemDao {

    /**
     * 订单第二步：保存订单项
     */
    void saveOrderItem(OrderItem orderItem);

    /**
     * 查看订单详情
     */
    List<OrderItem> getDetails(String orderId);

}
